package com.numbfish.ch_10.six_blocking_queue.LinkedBlockingQueueTest1.src.test ;

import java.util.concurrent.LinkedBlockingQueue;

public class test4 {

	public static void main(String[] args) throws InterruptedException {
		LinkedBlockingQueue queue = new LinkedBlockingQueue(3);
		System.out.println(queue.add("abc"));
		System.out.println(queue.add("abc"));
		System.out.println(queue.add("abc"));
		System.out.println(queue.add("abc"));
		System.out.println(queue.size());
	}
}